home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 61 / CDPowerplay61Disc1.iso / patches / BladeToolsEnglish.exe / BladeToolsEnglish / Compilers / Textures Compiler / Example / Readme.txt < prev   
Encoding:
Text File  |  2001-03-09  |  1.4 KB  |  48 lines

  1.  
  2. Steps needed in order to create the mmp textures file of this example:
  3.  
  4. 1.- run the BAB.EXE program
  5.  
  6. 2.- Type the next sentence in the console:
  7.  
  8.             execfile("example.py")
  9.  
  10. 3.- Once the textures have been processed type the next sentence in the console:
  11.             
  12.             BaBx.SaveFile("example.mmp")            
  13.  
  14. DONE!
  15.  
  16.  
  17. -------------------------
  18.  
  19.  
  20. Comments about the "BaBx.BitmapData" function in the example.py file:
  21.  
  22. - The first parameter is the internal name of the texture -the name that understands the engine-. In case of compilling the map textures, that name must be THE SAME NAME given to the texture in the "paleta de texturas" view.
  23.  
  24. - The second parameter is the name of the .bmp file (256*256 pixels, 24 bpp) that represents the texture into the HD.
  25.  
  26. - The third parameter is the weight of the texture when computing the 8 bits palette for the .mmp file -in case of using this .mmp format file-.
  27.  
  28.  
  29. Miscellania
  30.  
  31. - You can create all .mmp files you want, each with its own palette.
  32.  
  33. - If you create a dome, the internal names for the textures must be that way: 
  34.  
  35.     DomeUp, DomeDown, DomeRight, DomeLeft, DomeFront and DomeBack
  36.  
  37. - The line "BaBx.ProcessBitmaps(l1)" can be written also:
  38.  
  39.     BaBx.ProcessBitmaps(l1, Format)
  40.  
  41.     Being "Format" one of the next options:
  42.  
  43.     "Palette" (default format)
  44.     "PaletteAlpha"
  45.     "Alpha"
  46.     "TrueColour"
  47.     "TrueColourAlpha"
  48.